import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import 'reset-css'
//导入echarts组件
import VueEcharts from 'vue-echarts'
//导入echarts所有的包
import 'echarts'
const app = createApp(App)
//注册全局组件<v-echart>,在所有vue组件中都可以使用
app.component('v-echart', VueEcharts)
app.use(createPinia())
app.use(router)

app.mount('#app')
